
jQuery(document).ready(function() {       
    App.init();
    TableEditable.init();
    FormComponents.init();   
});
//案场经理 解锁 锁定
function changeStatus(id,status,type) {
    $.ajax({
        type : "get",
        dataType : "json",
        data : {"id":id,"status":status,"type":type},
        url : "/index.php?r=api%2Fchange_status",
        success : function(data) {
            if (data == true) {
                location.reload();
            }
        }
    });
}

//var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'UA-37564768-1']);  _gaq.push(['_setDomainName', 'keenthemes.com']);  _gaq.push(['_setAllowLinker', true]);  _gaq.push(['_trackPageview']);  (function() {    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })();
 